﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012F5 RID: 4853
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SyncRogueExploreWinScNotify : IMessage<SyncRogueExploreWinScNotify>, IMessage, IEquatable<SyncRogueExploreWinScNotify>, IDeepCloneable<SyncRogueExploreWinScNotify>, IBufferMessage
	{
		// Token: 0x17003D47 RID: 15687
		// (get) Token: 0x0600D94C RID: 55628 RVA: 0x0024693C File Offset: 0x00244B3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SyncRogueExploreWinScNotify> Parser
		{
			get
			{
				return SyncRogueExploreWinScNotify._parser;
			}
		}

		// Token: 0x17003D48 RID: 15688
		// (get) Token: 0x0600D94D RID: 55629 RVA: 0x00246943 File Offset: 0x00244B43
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SyncRogueExploreWinScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003D49 RID: 15689
		// (get) Token: 0x0600D94E RID: 55630 RVA: 0x00246955 File Offset: 0x00244B55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SyncRogueExploreWinScNotify.Descriptor;
			}
		}

		// Token: 0x0600D94F RID: 55631 RVA: 0x0024695C File Offset: 0x00244B5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueExploreWinScNotify()
		{
		}

		// Token: 0x0600D950 RID: 55632 RVA: 0x00246964 File Offset: 0x00244B64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueExploreWinScNotify(SyncRogueExploreWinScNotify other) : this()
		{
			this.isExploreWin_ = other.isExploreWin_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D951 RID: 55633 RVA: 0x00246989 File Offset: 0x00244B89
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueExploreWinScNotify Clone()
		{
			return new SyncRogueExploreWinScNotify(this);
		}

		// Token: 0x17003D4A RID: 15690
		// (get) Token: 0x0600D952 RID: 55634 RVA: 0x00246991 File Offset: 0x00244B91
		// (set) Token: 0x0600D953 RID: 55635 RVA: 0x00246999 File Offset: 0x00244B99
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IsExploreWin
		{
			get
			{
				return this.isExploreWin_;
			}
			set
			{
				this.isExploreWin_ = value;
			}
		}

		// Token: 0x0600D954 RID: 55636 RVA: 0x002469A2 File Offset: 0x00244BA2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SyncRogueExploreWinScNotify);
		}

		// Token: 0x0600D955 RID: 55637 RVA: 0x002469B0 File Offset: 0x00244BB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SyncRogueExploreWinScNotify other)
		{
			return other != null && (other == this || (this.IsExploreWin == other.IsExploreWin && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D956 RID: 55638 RVA: 0x002469E0 File Offset: 0x00244BE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.IsExploreWin)
			{
				num ^= this.IsExploreWin.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D957 RID: 55639 RVA: 0x00246A1F File Offset: 0x00244C1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D958 RID: 55640 RVA: 0x00246A27 File Offset: 0x00244C27
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D959 RID: 55641 RVA: 0x00246A30 File Offset: 0x00244C30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IsExploreWin)
			{
				output.WriteRawTag(40);
				output.WriteBool(this.IsExploreWin);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D95A RID: 55642 RVA: 0x00246A64 File Offset: 0x00244C64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.IsExploreWin)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D95B RID: 55643 RVA: 0x00246A96 File Offset: 0x00244C96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SyncRogueExploreWinScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.IsExploreWin)
			{
				this.IsExploreWin = other.IsExploreWin;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D95C RID: 55644 RVA: 0x00246AC7 File Offset: 0x00244CC7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D95D RID: 55645 RVA: 0x00246AD0 File Offset: 0x00244CD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.IsExploreWin = input.ReadBool();
				}
			}
		}

		// Token: 0x0400567A RID: 22138
		private static readonly MessageParser<SyncRogueExploreWinScNotify> _parser = new MessageParser<SyncRogueExploreWinScNotify>(() => new SyncRogueExploreWinScNotify());

		// Token: 0x0400567B RID: 22139
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400567C RID: 22140
		public const int IsExploreWinFieldNumber = 5;

		// Token: 0x0400567D RID: 22141
		private bool isExploreWin_;
	}
}
